/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.dynamo.database.reverse.emf.metadata;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Table</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Table#getCatalog <em>Catalog</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Table#getSchema <em>Schema</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Table#getColumns <em>Columns</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Table#getIndexes <em>Indexes</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Table#getPrimaryKey <em>Primary Key</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Table#getUniqueKeys <em>Unique Keys</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Table#isOnlyFK <em>Only FK</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getTable()
 * @model
 * @generated
 */
public interface Table extends NamedElement {
	/**
	 * Returns the value of the '<em><b>Catalog</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Catalog</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Catalog</em>' attribute.
	 * @see #setCatalog(String)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getTable_Catalog()
	 * @model
	 * @generated
	 */
	String getCatalog();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Table#getCatalog <em>Catalog</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Catalog</em>' attribute.
	 * @see #getCatalog()
	 * @generated
	 */
	void setCatalog(String value);

	/**
	 * Returns the value of the '<em><b>Schema</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Schema</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Schema</em>' attribute.
	 * @see #setSchema(String)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getTable_Schema()
	 * @model
	 * @generated
	 */
	String getSchema();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Table#getSchema <em>Schema</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Schema</em>' attribute.
	 * @see #getSchema()
	 * @generated
	 */
	void setSchema(String value);

	/**
	 * Returns the value of the '<em><b>Columns</b></em>' containment reference list.
	 * The list contents are of type {@link org.dynamo.database.reverse.emf.metadata.Column}.
	 * It is bidirectional and its opposite is '{@link org.dynamo.database.reverse.emf.metadata.Column#getOwner <em>Owner</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Columns</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Columns</em>' containment reference list.
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getTable_Columns()
	 * @see org.dynamo.database.reverse.emf.metadata.Column#getOwner
	 * @model opposite="owner" containment="true"
	 * @generated
	 */
	EList<Column> getColumns();

	/**
	 * Returns the value of the '<em><b>Indexes</b></em>' containment reference list.
	 * The list contents are of type {@link org.dynamo.database.reverse.emf.metadata.Index}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Indexes</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Indexes</em>' containment reference list.
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getTable_Indexes()
	 * @model containment="true"
	 * @generated
	 */
	EList<Index> getIndexes();

	/**
	 * Returns the value of the '<em><b>Primary Key</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Primary Key</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Primary Key</em>' containment reference.
	 * @see #setPrimaryKey(PrimaryKey)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getTable_PrimaryKey()
	 * @model containment="true"
	 * @generated
	 */
	PrimaryKey getPrimaryKey();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Table#getPrimaryKey <em>Primary Key</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Primary Key</em>' containment reference.
	 * @see #getPrimaryKey()
	 * @generated
	 */
	void setPrimaryKey(PrimaryKey value);

	/**
	 * Returns the value of the '<em><b>Unique Keys</b></em>' containment reference list.
	 * The list contents are of type {@link org.dynamo.database.reverse.emf.metadata.UniqueKey}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Unique Keys</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Unique Keys</em>' containment reference list.
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getTable_UniqueKeys()
	 * @model containment="true"
	 * @generated
	 */
	EList<UniqueKey> getUniqueKeys();

	/**
	 * Returns the value of the '<em><b>Only FK</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Only FK</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Only FK</em>' attribute.
	 * @see #setOnlyFK(boolean)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getTable_OnlyFK()
	 * @model
	 * @generated
	 */
	boolean isOnlyFK();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Table#isOnlyFK <em>Only FK</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Only FK</em>' attribute.
	 * @see #isOnlyFK()
	 * @generated
	 */
	void setOnlyFK(boolean value);

} // Table
